<template>
    <!--我们的队伍-->
    <div class="our_line" style="box-sizing: border-box;padding-left: 40px;padding-right: 40px;">
        <NoData v-if="flag"></NoData>
        <div class="rich_text_region" v-html="ourLineRichtext">

        </div>

    </div>
</template>

<script>
    import NoData from '@/components/nodata/NoData'
    export default {
        name: "OurLine",
        data(){
          return{
             ourLineRichtext:'',//我们的队伍富文本数据
             flag:false,
          }
        },
       components:{
         NoData
       },


        created(){
          this.$http.get("/api/ScreenkApi/getColumnContent?type=team",{vollege_id:this.$util.vollege_id},r=>{
               console.log('我们的队伍数据',r.data.data[0]);
               this.ourLineRichtext=r.data.data[0].content;
               if (this.ourLineRichtext.length==0){
                 this.flag=true;
               }
               this.$emit('childData', 0);

          });

        },
        methods:{
            getOurLine(){

            },//获得我们的队伍
        },
    }
</script>

<style scoped>
  .our_line{
    box-sizing: border-box;
    /*padding-top: 60px;*/
    padding-left: 20px;
  }
  .rich_text_region >>>img{
    /*width: 80%;*/
     max-width: 100%;
  }

</style>
